0 CpxRelTRS
↳1 RelTrsToWeightedTrsProof (BOTH BOUNDS(ID, ID), 0 ms)
↳2 CpxWeightedTrs
↳3 TypeInferenceProof (BOTH BOUNDS(ID, ID), 0 ms)
↳4 CpxTypedWeightedTrs
↳5 CompletionProof (UPPER BOUND(ID), 0 ms)
↳6 CpxTypedWeightedCompleteTrs
↳7 NarrowingProof (BOTH BOUNDS(ID, ID), 0 ms)
↳8 CpxTypedWeightedCompleteTrs
↳9 CpxTypedWeightedTrsToRntsProof (UPPER BOUND(ID), 10 ms)
↳10 CpxRNTS
↳11 InliningProof (UPPER BOUND(ID), 226 ms)
↳12 CpxRNTS
↳13 SimplificationProof (BOTH BOUNDS(ID, ID), 0 ms)
↳14 CpxRNTS
↳15 CpxRntsAnalysisOrderProof (BOTH BOUNDS(ID, ID), 0 ms)
↳16 CpxRNTS
↳17 IntTrsBoundProof (UPPER BOUND(ID), 307 ms)
↳18 CpxRNTS
↳19 IntTrsBoundProof (UPPER BOUND(ID), 59 ms)
↳20 CpxRNTS
↳21 ResultPropagationProof (UPPER BOUND(ID), 0 ms)
↳22 CpxRNTS
↳23 IntTrsBoundProof (UPPER BOUND(ID), 145 ms)
↳24 CpxRNTS
↳25 IntTrsBoundProof (UPPER BOUND(ID), 18 ms)
↳26 CpxRNTS
↳27 ResultPropagationProof (UPPER BOUND(ID), 0 ms)
↳28 CpxRNTS
↳29 IntTrsBoundProof (UPPER BOUND(ID), 475 ms)
↳30 CpxRNTS
↳31 IntTrsBoundProof (UPPER BOUND(ID), 142 ms)
↳32 CpxRNTS
↳33 ResultPropagationProof (UPPER BOUND(ID), 0 ms)
↳34 CpxRNTS
↳35 IntTrsBoundProof (UPPER BOUND(ID), 388 ms)
↳36 CpxRNTS
↳37 IntTrsBoundProof (UPPER BOUND(ID), 48 ms)
↳38 CpxRNTS
↳39 ResultPropagationProof (UPPER BOUND(ID), 0 ms)
↳40 CpxRNTS
↳41 IntTrsBoundProof (UPPER BOUND(ID), 458 ms)
↳42 CpxRNTS
↳43 IntTrsBoundProof (UPPER BOUND(ID), 157 ms)
↳44 CpxRNTS
↳45 FinalProof (⇔, 0 ms)
↳46 BOUNDS(1, n^1)
lte(Cons(x', xs'), Cons(x, xs)) → lte(xs', xs)
lte(Cons(x, xs), Nil) → False
even(Cons(x, Nil)) → False
even(Cons(x', Cons(x, xs))) → even(xs)
notEmpty(Cons(x, xs)) → True
notEmpty(Nil) → False
lte(Nil, y) → True
even(Nil) → True
goal(x, y) → and(lte(x, y), even(x))
and(False, False) → False
and(True, False) → False
and(False, True) → False
and(True, True) → True
lte(Cons(x', xs'), Cons(x, xs)) → lte(xs', xs) [1]
lte(Cons(x, xs), Nil) → False [1]
even(Cons(x, Nil)) → False [1]
even(Cons(x', Cons(x, xs))) → even(xs) [1]
notEmpty(Cons(x, xs)) → True [1]
notEmpty(Nil) → False [1]
lte(Nil, y) → True [1]
even(Nil) → True [1]
goal(x, y) → and(lte(x, y), even(x)) [1]
and(False, False) → False [0]
and(True, False) → False [0]
and(False, True) → False [0]
and(True, True) → True [0]
lte(Cons(x', xs'), Cons(x, xs)) → lte(xs', xs) [1]
lte(Cons(x, xs), Nil) → False [1]
even(Cons(x, Nil)) → False [1]
even(Cons(x', Cons(x, xs))) → even(xs) [1]
notEmpty(Cons(x, xs)) → True [1]
notEmpty(Nil) → False [1]
lte(Nil, y) → True [1]
even(Nil) → True [1]
goal(x, y) → and(lte(x, y), even(x)) [1]
and(False, False) → False [0]
and(True, False) → False [0]
and(False, True) → False [0]
and(True, True) → True [0]
lte :: Cons:Nil → Cons:Nil → False:True Cons :: a → Cons:Nil → Cons:Nil Nil :: Cons:Nil False :: False:True even :: Cons:Nil → False:True notEmpty :: Cons:Nil → False:True True :: False:True goal :: Cons:Nil → Cons:Nil → False:True and :: False:True → False:True → False:True |
(a) The obligation is a constructor system where every type has a constant constructor,
(b) The following defined symbols do not have to be completely defined, as they can never occur inside other defined symbols:
notEmpty
goal
lte
even
and
and(v0, v1) → null_and [0]
null_and, const
Runtime Complexity Weighted TRS with Types. The TRS R consists of the following rules:
The TRS has the following type information:
Rewrite Strategy: INNERMOST |
Runtime Complexity Weighted TRS with Types. The TRS R consists of the following rules:
The TRS has the following type information:
Rewrite Strategy: INNERMOST |
Nil => 0
False => 1
True => 2
null_and => 0
const => 0
and(z, z') -{ 0 }→ 2 :|: z = 2, z' = 2
and(z, z') -{ 0 }→ 1 :|: z = 1, z' = 1
and(z, z') -{ 0 }→ 1 :|: z = 2, z' = 1
and(z, z') -{ 0 }→ 1 :|: z' = 2, z = 1
and(z, z') -{ 0 }→ 0 :|: v0 >= 0, v1 >= 0, z = v0, z' = v1
even(z) -{ 1 }→ even(xs) :|: xs >= 0, x' >= 0, x >= 0, z = 1 + x' + (1 + x + xs)
even(z) -{ 1 }→ 2 :|: z = 0
even(z) -{ 1 }→ 1 :|: x >= 0, z = 1 + x + 0
goal(z, z') -{ 3 }→ and(lte(0, xs1), 1) :|: x1 >= 0, xs1 >= 0, x'' >= 0, z = 1 + x'' + 0, z' = 1 + x1 + xs1
goal(z, z') -{ 3 }→ and(lte(1 + x3 + xs3, xs1), even(xs3)) :|: z = 1 + x'' + (1 + x3 + xs3), x1 >= 0, xs1 >= 0, x'' >= 0, x3 >= 0, z' = 1 + x1 + xs1, xs3 >= 0
goal(z, z') -{ 3 }→ and(2, 2) :|: y >= 0, z = 0, z' = y
goal(z, z') -{ 3 }→ and(1, even(xs4)) :|: x4 >= 0, xs4 >= 0, z = 1 + x2 + (1 + x4 + xs4), x2 >= 0, z' = 0
goal(z, z') -{ 3 }→ and(1, 1) :|: z = 1 + x2 + 0, x2 >= 0, z' = 0
lte(z, z') -{ 1 }→ lte(xs', xs) :|: xs >= 0, z' = 1 + x + xs, x' >= 0, xs' >= 0, x >= 0, z = 1 + x' + xs'
lte(z, z') -{ 1 }→ 2 :|: y >= 0, z = 0, z' = y
lte(z, z') -{ 1 }→ 1 :|: z = 1 + x + xs, xs >= 0, x >= 0, z' = 0
notEmpty(z) -{ 1 }→ 2 :|: z = 1 + x + xs, xs >= 0, x >= 0
notEmpty(z) -{ 1 }→ 1 :|: z = 0
and(z, z') -{ 0 }→ 1 :|: z = 1, z' = 1
and(z, z') -{ 0 }→ 1 :|: z = 2, z' = 1
and(z, z') -{ 0 }→ 1 :|: z' = 2, z = 1
and(z, z') -{ 0 }→ 2 :|: z = 2, z' = 2
and(z, z') -{ 0 }→ 0 :|: v0 >= 0, v1 >= 0, z = v0, z' = v1
and(z, z') -{ 0 }→ 2 :|: z = 2, z' = 2
and(z, z') -{ 0 }→ 1 :|: z = 1, z' = 1
and(z, z') -{ 0 }→ 1 :|: z = 2, z' = 1
and(z, z') -{ 0 }→ 1 :|: z' = 2, z = 1
and(z, z') -{ 0 }→ 0 :|: v0 >= 0, v1 >= 0, z = v0, z' = v1
even(z) -{ 1 }→ even(xs) :|: xs >= 0, x' >= 0, x >= 0, z = 1 + x' + (1 + x + xs)
even(z) -{ 1 }→ 2 :|: z = 0
even(z) -{ 1 }→ 1 :|: x >= 0, z = 1 + x + 0
goal(z, z') -{ 3 }→ and(lte(0, xs1), 1) :|: x1 >= 0, xs1 >= 0, x'' >= 0, z = 1 + x'' + 0, z' = 1 + x1 + xs1
goal(z, z') -{ 3 }→ and(lte(1 + x3 + xs3, xs1), even(xs3)) :|: z = 1 + x'' + (1 + x3 + xs3), x1 >= 0, xs1 >= 0, x'' >= 0, x3 >= 0, z' = 1 + x1 + xs1, xs3 >= 0
goal(z, z') -{ 3 }→ and(1, even(xs4)) :|: x4 >= 0, xs4 >= 0, z = 1 + x2 + (1 + x4 + xs4), x2 >= 0, z' = 0
goal(z, z') -{ 3 }→ 2 :|: y >= 0, z = 0, z' = y, 2 = 2
goal(z, z') -{ 3 }→ 1 :|: z = 1 + x2 + 0, x2 >= 0, z' = 0, 1 = 1
goal(z, z') -{ 3 }→ 0 :|: z = 1 + x2 + 0, x2 >= 0, z' = 0, v0 >= 0, v1 >= 0, 1 = v0, 1 = v1
goal(z, z') -{ 3 }→ 0 :|: y >= 0, z = 0, z' = y, v0 >= 0, v1 >= 0, 2 = v0, 2 = v1
lte(z, z') -{ 1 }→ lte(xs', xs) :|: xs >= 0, z' = 1 + x + xs, x' >= 0, xs' >= 0, x >= 0, z = 1 + x' + xs'
lte(z, z') -{ 1 }→ 2 :|: y >= 0, z = 0, z' = y
lte(z, z') -{ 1 }→ 1 :|: z = 1 + x + xs, xs >= 0, x >= 0, z' = 0
notEmpty(z) -{ 1 }→ 2 :|: z = 1 + x + xs, xs >= 0, x >= 0
notEmpty(z) -{ 1 }→ 1 :|: z = 0
and(z, z') -{ 0 }→ 2 :|: z = 2, z' = 2
and(z, z') -{ 0 }→ 1 :|: z = 1, z' = 1
and(z, z') -{ 0 }→ 1 :|: z = 2, z' = 1
and(z, z') -{ 0 }→ 1 :|: z' = 2, z = 1
and(z, z') -{ 0 }→ 0 :|: z >= 0, z' >= 0
even(z) -{ 1 }→ even(xs) :|: xs >= 0, x' >= 0, x >= 0, z = 1 + x' + (1 + x + xs)
even(z) -{ 1 }→ 2 :|: z = 0
even(z) -{ 1 }→ 1 :|: z - 1 >= 0
goal(z, z') -{ 3 }→ and(lte(0, xs1), 1) :|: x1 >= 0, xs1 >= 0, z - 1 >= 0, z' = 1 + x1 + xs1
goal(z, z') -{ 3 }→ and(lte(1 + x3 + xs3, xs1), even(xs3)) :|: z = 1 + x'' + (1 + x3 + xs3), x1 >= 0, xs1 >= 0, x'' >= 0, x3 >= 0, z' = 1 + x1 + xs1, xs3 >= 0
goal(z, z') -{ 3 }→ and(1, even(xs4)) :|: x4 >= 0, xs4 >= 0, z = 1 + x2 + (1 + x4 + xs4), x2 >= 0, z' = 0
goal(z, z') -{ 3 }→ 2 :|: z' >= 0, z = 0, 2 = 2
goal(z, z') -{ 3 }→ 1 :|: z - 1 >= 0, z' = 0, 1 = 1
goal(z, z') -{ 3 }→ 0 :|: z - 1 >= 0, z' = 0, v0 >= 0, v1 >= 0, 1 = v0, 1 = v1
goal(z, z') -{ 3 }→ 0 :|: z' >= 0, z = 0, v0 >= 0, v1 >= 0, 2 = v0, 2 = v1
lte(z, z') -{ 1 }→ lte(xs', xs) :|: xs >= 0, z' = 1 + x + xs, x' >= 0, xs' >= 0, x >= 0, z = 1 + x' + xs'
lte(z, z') -{ 1 }→ 2 :|: z' >= 0, z = 0
lte(z, z') -{ 1 }→ 1 :|: z = 1 + x + xs, xs >= 0, x >= 0, z' = 0
notEmpty(z) -{ 1 }→ 2 :|: z = 1 + x + xs, xs >= 0, x >= 0
notEmpty(z) -{ 1 }→ 1 :|: z = 0
{ and } { notEmpty } { lte } { even } { goal } |
and(z, z') -{ 0 }→ 2 :|: z = 2, z' = 2
and(z, z') -{ 0 }→ 1 :|: z = 1, z' = 1
and(z, z') -{ 0 }→ 1 :|: z = 2, z' = 1
and(z, z') -{ 0 }→ 1 :|: z' = 2, z = 1
and(z, z') -{ 0 }→ 0 :|: z >= 0, z' >= 0
even(z) -{ 1 }→ even(xs) :|: xs >= 0, x' >= 0, x >= 0, z = 1 + x' + (1 + x + xs)
even(z) -{ 1 }→ 2 :|: z = 0
even(z) -{ 1 }→ 1 :|: z - 1 >= 0
goal(z, z') -{ 3 }→ and(lte(0, xs1), 1) :|: x1 >= 0, xs1 >= 0, z - 1 >= 0, z' = 1 + x1 + xs1
goal(z, z') -{ 3 }→ and(lte(1 + x3 + xs3, xs1), even(xs3)) :|: z = 1 + x'' + (1 + x3 + xs3), x1 >= 0, xs1 >= 0, x'' >= 0, x3 >= 0, z' = 1 + x1 + xs1, xs3 >= 0
goal(z, z') -{ 3 }→ and(1, even(xs4)) :|: x4 >= 0, xs4 >= 0, z = 1 + x2 + (1 + x4 + xs4), x2 >= 0, z' = 0
goal(z, z') -{ 3 }→ 2 :|: z' >= 0, z = 0, 2 = 2
goal(z, z') -{ 3 }→ 1 :|: z - 1 >= 0, z' = 0, 1 = 1
goal(z, z') -{ 3 }→ 0 :|: z - 1 >= 0, z' = 0, v0 >= 0, v1 >= 0, 1 = v0, 1 = v1
goal(z, z') -{ 3 }→ 0 :|: z' >= 0, z = 0, v0 >= 0, v1 >= 0, 2 = v0, 2 = v1
lte(z, z') -{ 1 }→ lte(xs', xs) :|: xs >= 0, z' = 1 + x + xs, x' >= 0, xs' >= 0, x >= 0, z = 1 + x' + xs'
lte(z, z') -{ 1 }→ 2 :|: z' >= 0, z = 0
lte(z, z') -{ 1 }→ 1 :|: z = 1 + x + xs, xs >= 0, x >= 0, z' = 0
notEmpty(z) -{ 1 }→ 2 :|: z = 1 + x + xs, xs >= 0, x >= 0
notEmpty(z) -{ 1 }→ 1 :|: z = 0
and(z, z') -{ 0 }→ 2 :|: z = 2, z' = 2
and(z, z') -{ 0 }→ 1 :|: z = 1, z' = 1
and(z, z') -{ 0 }→ 1 :|: z = 2, z' = 1
and(z, z') -{ 0 }→ 1 :|: z' = 2, z = 1
and(z, z') -{ 0 }→ 0 :|: z >= 0, z' >= 0
even(z) -{ 1 }→ even(xs) :|: xs >= 0, x' >= 0, x >= 0, z = 1 + x' + (1 + x + xs)
even(z) -{ 1 }→ 2 :|: z = 0
even(z) -{ 1 }→ 1 :|: z - 1 >= 0
goal(z, z') -{ 3 }→ and(lte(0, xs1), 1) :|: x1 >= 0, xs1 >= 0, z - 1 >= 0, z' = 1 + x1 + xs1
goal(z, z') -{ 3 }→ and(lte(1 + x3 + xs3, xs1), even(xs3)) :|: z = 1 + x'' + (1 + x3 + xs3), x1 >= 0, xs1 >= 0, x'' >= 0, x3 >= 0, z' = 1 + x1 + xs1, xs3 >= 0
goal(z, z') -{ 3 }→ and(1, even(xs4)) :|: x4 >= 0, xs4 >= 0, z = 1 + x2 + (1 + x4 + xs4), x2 >= 0, z' = 0
goal(z, z') -{ 3 }→ 2 :|: z' >= 0, z = 0, 2 = 2
goal(z, z') -{ 3 }→ 1 :|: z - 1 >= 0, z' = 0, 1 = 1
goal(z, z') -{ 3 }→ 0 :|: z - 1 >= 0, z' = 0, v0 >= 0, v1 >= 0, 1 = v0, 1 = v1
goal(z, z') -{ 3 }→ 0 :|: z' >= 0, z = 0, v0 >= 0, v1 >= 0, 2 = v0, 2 = v1
lte(z, z') -{ 1 }→ lte(xs', xs) :|: xs >= 0, z' = 1 + x + xs, x' >= 0, xs' >= 0, x >= 0, z = 1 + x' + xs'
lte(z, z') -{ 1 }→ 2 :|: z' >= 0, z = 0
lte(z, z') -{ 1 }→ 1 :|: z = 1 + x + xs, xs >= 0, x >= 0, z' = 0
notEmpty(z) -{ 1 }→ 2 :|: z = 1 + x + xs, xs >= 0, x >= 0
notEmpty(z) -{ 1 }→ 1 :|: z = 0
and: runtime: ?, size: O(1) [2] |
and(z, z') -{ 0 }→ 2 :|: z = 2, z' = 2
and(z, z') -{ 0 }→ 1 :|: z = 1, z' = 1
and(z, z') -{ 0 }→ 1 :|: z = 2, z' = 1
and(z, z') -{ 0 }→ 1 :|: z' = 2, z = 1
and(z, z') -{ 0 }→ 0 :|: z >= 0, z' >= 0
even(z) -{ 1 }→ even(xs) :|: xs >= 0, x' >= 0, x >= 0, z = 1 + x' + (1 + x + xs)
even(z) -{ 1 }→ 2 :|: z = 0
even(z) -{ 1 }→ 1 :|: z - 1 >= 0
goal(z, z') -{ 3 }→ and(lte(0, xs1), 1) :|: x1 >= 0, xs1 >= 0, z - 1 >= 0, z' = 1 + x1 + xs1
goal(z, z') -{ 3 }→ and(lte(1 + x3 + xs3, xs1), even(xs3)) :|: z = 1 + x'' + (1 + x3 + xs3), x1 >= 0, xs1 >= 0, x'' >= 0, x3 >= 0, z' = 1 + x1 + xs1, xs3 >= 0
goal(z, z') -{ 3 }→ and(1, even(xs4)) :|: x4 >= 0, xs4 >= 0, z = 1 + x2 + (1 + x4 + xs4), x2 >= 0, z' = 0
goal(z, z') -{ 3 }→ 2 :|: z' >= 0, z = 0, 2 = 2
goal(z, z') -{ 3 }→ 1 :|: z - 1 >= 0, z' = 0, 1 = 1
goal(z, z') -{ 3 }→ 0 :|: z - 1 >= 0, z' = 0, v0 >= 0, v1 >= 0, 1 = v0, 1 = v1
goal(z, z') -{ 3 }→ 0 :|: z' >= 0, z = 0, v0 >= 0, v1 >= 0, 2 = v0, 2 = v1
lte(z, z') -{ 1 }→ lte(xs', xs) :|: xs >= 0, z' = 1 + x + xs, x' >= 0, xs' >= 0, x >= 0, z = 1 + x' + xs'
lte(z, z') -{ 1 }→ 2 :|: z' >= 0, z = 0
lte(z, z') -{ 1 }→ 1 :|: z = 1 + x + xs, xs >= 0, x >= 0, z' = 0
notEmpty(z) -{ 1 }→ 2 :|: z = 1 + x + xs, xs >= 0, x >= 0
notEmpty(z) -{ 1 }→ 1 :|: z = 0
and: runtime: O(1) [0], size: O(1) [2] |
and(z, z') -{ 0 }→ 2 :|: z = 2, z' = 2
and(z, z') -{ 0 }→ 1 :|: z = 1, z' = 1
and(z, z') -{ 0 }→ 1 :|: z = 2, z' = 1
and(z, z') -{ 0 }→ 1 :|: z' = 2, z = 1
and(z, z') -{ 0 }→ 0 :|: z >= 0, z' >= 0
even(z) -{ 1 }→ even(xs) :|: xs >= 0, x' >= 0, x >= 0, z = 1 + x' + (1 + x + xs)
even(z) -{ 1 }→ 2 :|: z = 0
even(z) -{ 1 }→ 1 :|: z - 1 >= 0
goal(z, z') -{ 3 }→ and(lte(0, xs1), 1) :|: x1 >= 0, xs1 >= 0, z - 1 >= 0, z' = 1 + x1 + xs1
goal(z, z') -{ 3 }→ and(lte(1 + x3 + xs3, xs1), even(xs3)) :|: z = 1 + x'' + (1 + x3 + xs3), x1 >= 0, xs1 >= 0, x'' >= 0, x3 >= 0, z' = 1 + x1 + xs1, xs3 >= 0
goal(z, z') -{ 3 }→ and(1, even(xs4)) :|: x4 >= 0, xs4 >= 0, z = 1 + x2 + (1 + x4 + xs4), x2 >= 0, z' = 0
goal(z, z') -{ 3 }→ 2 :|: z' >= 0, z = 0, 2 = 2
goal(z, z') -{ 3 }→ 1 :|: z - 1 >= 0, z' = 0, 1 = 1
goal(z, z') -{ 3 }→ 0 :|: z - 1 >= 0, z' = 0, v0 >= 0, v1 >= 0, 1 = v0, 1 = v1
goal(z, z') -{ 3 }→ 0 :|: z' >= 0, z = 0, v0 >= 0, v1 >= 0, 2 = v0, 2 = v1
lte(z, z') -{ 1 }→ lte(xs', xs) :|: xs >= 0, z' = 1 + x + xs, x' >= 0, xs' >= 0, x >= 0, z = 1 + x' + xs'
lte(z, z') -{ 1 }→ 2 :|: z' >= 0, z = 0
lte(z, z') -{ 1 }→ 1 :|: z = 1 + x + xs, xs >= 0, x >= 0, z' = 0
notEmpty(z) -{ 1 }→ 2 :|: z = 1 + x + xs, xs >= 0, x >= 0
notEmpty(z) -{ 1 }→ 1 :|: z = 0
and: runtime: O(1) [0], size: O(1) [2] |
and(z, z') -{ 0 }→ 2 :|: z = 2, z' = 2
and(z, z') -{ 0 }→ 1 :|: z = 1, z' = 1
and(z, z') -{ 0 }→ 1 :|: z = 2, z' = 1
and(z, z') -{ 0 }→ 1 :|: z' = 2, z = 1
and(z, z') -{ 0 }→ 0 :|: z >= 0, z' >= 0
even(z) -{ 1 }→ even(xs) :|: xs >= 0, x' >= 0, x >= 0, z = 1 + x' + (1 + x + xs)
even(z) -{ 1 }→ 2 :|: z = 0
even(z) -{ 1 }→ 1 :|: z - 1 >= 0
goal(z, z') -{ 3 }→ and(lte(0, xs1), 1) :|: x1 >= 0, xs1 >= 0, z - 1 >= 0, z' = 1 + x1 + xs1
goal(z, z') -{ 3 }→ and(lte(1 + x3 + xs3, xs1), even(xs3)) :|: z = 1 + x'' + (1 + x3 + xs3), x1 >= 0, xs1 >= 0, x'' >= 0, x3 >= 0, z' = 1 + x1 + xs1, xs3 >= 0
goal(z, z') -{ 3 }→ and(1, even(xs4)) :|: x4 >= 0, xs4 >= 0, z = 1 + x2 + (1 + x4 + xs4), x2 >= 0, z' = 0
goal(z, z') -{ 3 }→ 2 :|: z' >= 0, z = 0, 2 = 2
goal(z, z') -{ 3 }→ 1 :|: z - 1 >= 0, z' = 0, 1 = 1
goal(z, z') -{ 3 }→ 0 :|: z - 1 >= 0, z' = 0, v0 >= 0, v1 >= 0, 1 = v0, 1 = v1
goal(z, z') -{ 3 }→ 0 :|: z' >= 0, z = 0, v0 >= 0, v1 >= 0, 2 = v0, 2 = v1
lte(z, z') -{ 1 }→ lte(xs', xs) :|: xs >= 0, z' = 1 + x + xs, x' >= 0, xs' >= 0, x >= 0, z = 1 + x' + xs'
lte(z, z') -{ 1 }→ 2 :|: z' >= 0, z = 0
lte(z, z') -{ 1 }→ 1 :|: z = 1 + x + xs, xs >= 0, x >= 0, z' = 0
notEmpty(z) -{ 1 }→ 2 :|: z = 1 + x + xs, xs >= 0, x >= 0
notEmpty(z) -{ 1 }→ 1 :|: z = 0
and: runtime: O(1) [0], size: O(1) [2] notEmpty: runtime: ?, size: O(1) [2] |
and(z, z') -{ 0 }→ 2 :|: z = 2, z' = 2
and(z, z') -{ 0 }→ 1 :|: z = 1, z' = 1
and(z, z') -{ 0 }→ 1 :|: z = 2, z' = 1
and(z, z') -{ 0 }→ 1 :|: z' = 2, z = 1
and(z, z') -{ 0 }→ 0 :|: z >= 0, z' >= 0
even(z) -{ 1 }→ even(xs) :|: xs >= 0, x' >= 0, x >= 0, z = 1 + x' + (1 + x + xs)
even(z) -{ 1 }→ 2 :|: z = 0
even(z) -{ 1 }→ 1 :|: z - 1 >= 0
goal(z, z') -{ 3 }→ and(lte(0, xs1), 1) :|: x1 >= 0, xs1 >= 0, z - 1 >= 0, z' = 1 + x1 + xs1
goal(z, z') -{ 3 }→ and(lte(1 + x3 + xs3, xs1), even(xs3)) :|: z = 1 + x'' + (1 + x3 + xs3), x1 >= 0, xs1 >= 0, x'' >= 0, x3 >= 0, z' = 1 + x1 + xs1, xs3 >= 0
goal(z, z') -{ 3 }→ and(1, even(xs4)) :|: x4 >= 0, xs4 >= 0, z = 1 + x2 + (1 + x4 + xs4), x2 >= 0, z' = 0
goal(z, z') -{ 3 }→ 2 :|: z' >= 0, z = 0, 2 = 2
goal(z, z') -{ 3 }→ 1 :|: z - 1 >= 0, z' = 0, 1 = 1
goal(z, z') -{ 3 }→ 0 :|: z - 1 >= 0, z' = 0, v0 >= 0, v1 >= 0, 1 = v0, 1 = v1
goal(z, z') -{ 3 }→ 0 :|: z' >= 0, z = 0, v0 >= 0, v1 >= 0, 2 = v0, 2 = v1
lte(z, z') -{ 1 }→ lte(xs', xs) :|: xs >= 0, z' = 1 + x + xs, x' >= 0, xs' >= 0, x >= 0, z = 1 + x' + xs'
lte(z, z') -{ 1 }→ 2 :|: z' >= 0, z = 0
lte(z, z') -{ 1 }→ 1 :|: z = 1 + x + xs, xs >= 0, x >= 0, z' = 0
notEmpty(z) -{ 1 }→ 2 :|: z = 1 + x + xs, xs >= 0, x >= 0
notEmpty(z) -{ 1 }→ 1 :|: z = 0
and: runtime: O(1) [0], size: O(1) [2] notEmpty: runtime: O(1) [1], size: O(1) [2] |
and(z, z') -{ 0 }→ 2 :|: z = 2, z' = 2
and(z, z') -{ 0 }→ 1 :|: z = 1, z' = 1
and(z, z') -{ 0 }→ 1 :|: z = 2, z' = 1
and(z, z') -{ 0 }→ 1 :|: z' = 2, z = 1
and(z, z') -{ 0 }→ 0 :|: z >= 0, z' >= 0
even(z) -{ 1 }→ even(xs) :|: xs >= 0, x' >= 0, x >= 0, z = 1 + x' + (1 + x + xs)
even(z) -{ 1 }→ 2 :|: z = 0
even(z) -{ 1 }→ 1 :|: z - 1 >= 0
goal(z, z') -{ 3 }→ and(lte(0, xs1), 1) :|: x1 >= 0, xs1 >= 0, z - 1 >= 0, z' = 1 + x1 + xs1
goal(z, z') -{ 3 }→ and(lte(1 + x3 + xs3, xs1), even(xs3)) :|: z = 1 + x'' + (1 + x3 + xs3), x1 >= 0, xs1 >= 0, x'' >= 0, x3 >= 0, z' = 1 + x1 + xs1, xs3 >= 0
goal(z, z') -{ 3 }→ and(1, even(xs4)) :|: x4 >= 0, xs4 >= 0, z = 1 + x2 + (1 + x4 + xs4), x2 >= 0, z' = 0
goal(z, z') -{ 3 }→ 2 :|: z' >= 0, z = 0, 2 = 2
goal(z, z') -{ 3 }→ 1 :|: z - 1 >= 0, z' = 0, 1 = 1
goal(z, z') -{ 3 }→ 0 :|: z - 1 >= 0, z' = 0, v0 >= 0, v1 >= 0, 1 = v0, 1 = v1
goal(z, z') -{ 3 }→ 0 :|: z' >= 0, z = 0, v0 >= 0, v1 >= 0, 2 = v0, 2 = v1
lte(z, z') -{ 1 }→ lte(xs', xs) :|: xs >= 0, z' = 1 + x + xs, x' >= 0, xs' >= 0, x >= 0, z = 1 + x' + xs'
lte(z, z') -{ 1 }→ 2 :|: z' >= 0, z = 0
lte(z, z') -{ 1 }→ 1 :|: z = 1 + x + xs, xs >= 0, x >= 0, z' = 0
notEmpty(z) -{ 1 }→ 2 :|: z = 1 + x + xs, xs >= 0, x >= 0
notEmpty(z) -{ 1 }→ 1 :|: z = 0
and: runtime: O(1) [0], size: O(1) [2] notEmpty: runtime: O(1) [1], size: O(1) [2] |
and(z, z') -{ 0 }→ 2 :|: z = 2, z' = 2
and(z, z') -{ 0 }→ 1 :|: z = 1, z' = 1
and(z, z') -{ 0 }→ 1 :|: z = 2, z' = 1
and(z, z') -{ 0 }→ 1 :|: z' = 2, z = 1
and(z, z') -{ 0 }→ 0 :|: z >= 0, z' >= 0
even(z) -{ 1 }→ even(xs) :|: xs >= 0, x' >= 0, x >= 0, z = 1 + x' + (1 + x + xs)
even(z) -{ 1 }→ 2 :|: z = 0
even(z) -{ 1 }→ 1 :|: z - 1 >= 0
goal(z, z') -{ 3 }→ and(lte(0, xs1), 1) :|: x1 >= 0, xs1 >= 0, z - 1 >= 0, z' = 1 + x1 + xs1
goal(z, z') -{ 3 }→ and(lte(1 + x3 + xs3, xs1), even(xs3)) :|: z = 1 + x'' + (1 + x3 + xs3), x1 >= 0, xs1 >= 0, x'' >= 0, x3 >= 0, z' = 1 + x1 + xs1, xs3 >= 0
goal(z, z') -{ 3 }→ and(1, even(xs4)) :|: x4 >= 0, xs4 >= 0, z = 1 + x2 + (1 + x4 + xs4), x2 >= 0, z' = 0
goal(z, z') -{ 3 }→ 2 :|: z' >= 0, z = 0, 2 = 2
goal(z, z') -{ 3 }→ 1 :|: z - 1 >= 0, z' = 0, 1 = 1
goal(z, z') -{ 3 }→ 0 :|: z - 1 >= 0, z' = 0, v0 >= 0, v1 >= 0, 1 = v0, 1 = v1
goal(z, z') -{ 3 }→ 0 :|: z' >= 0, z = 0, v0 >= 0, v1 >= 0, 2 = v0, 2 = v1
lte(z, z') -{ 1 }→ lte(xs', xs) :|: xs >= 0, z' = 1 + x + xs, x' >= 0, xs' >= 0, x >= 0, z = 1 + x' + xs'
lte(z, z') -{ 1 }→ 2 :|: z' >= 0, z = 0
lte(z, z') -{ 1 }→ 1 :|: z = 1 + x + xs, xs >= 0, x >= 0, z' = 0
notEmpty(z) -{ 1 }→ 2 :|: z = 1 + x + xs, xs >= 0, x >= 0
notEmpty(z) -{ 1 }→ 1 :|: z = 0
and: runtime: O(1) [0], size: O(1) [2] notEmpty: runtime: O(1) [1], size: O(1) [2] lte: runtime: ?, size: O(1) [2] |
and(z, z') -{ 0 }→ 2 :|: z = 2, z' = 2
and(z, z') -{ 0 }→ 1 :|: z = 1, z' = 1
and(z, z') -{ 0 }→ 1 :|: z = 2, z' = 1
and(z, z') -{ 0 }→ 1 :|: z' = 2, z = 1
and(z, z') -{ 0 }→ 0 :|: z >= 0, z' >= 0
even(z) -{ 1 }→ even(xs) :|: xs >= 0, x' >= 0, x >= 0, z = 1 + x' + (1 + x + xs)
even(z) -{ 1 }→ 2 :|: z = 0
even(z) -{ 1 }→ 1 :|: z - 1 >= 0
goal(z, z') -{ 3 }→ and(lte(0, xs1), 1) :|: x1 >= 0, xs1 >= 0, z - 1 >= 0, z' = 1 + x1 + xs1
goal(z, z') -{ 3 }→ and(lte(1 + x3 + xs3, xs1), even(xs3)) :|: z = 1 + x'' + (1 + x3 + xs3), x1 >= 0, xs1 >= 0, x'' >= 0, x3 >= 0, z' = 1 + x1 + xs1, xs3 >= 0
goal(z, z') -{ 3 }→ and(1, even(xs4)) :|: x4 >= 0, xs4 >= 0, z = 1 + x2 + (1 + x4 + xs4), x2 >= 0, z' = 0
goal(z, z') -{ 3 }→ 2 :|: z' >= 0, z = 0, 2 = 2
goal(z, z') -{ 3 }→ 1 :|: z - 1 >= 0, z' = 0, 1 = 1
goal(z, z') -{ 3 }→ 0 :|: z - 1 >= 0, z' = 0, v0 >= 0, v1 >= 0, 1 = v0, 1 = v1
goal(z, z') -{ 3 }→ 0 :|: z' >= 0, z = 0, v0 >= 0, v1 >= 0, 2 = v0, 2 = v1
lte(z, z') -{ 1 }→ lte(xs', xs) :|: xs >= 0, z' = 1 + x + xs, x' >= 0, xs' >= 0, x >= 0, z = 1 + x' + xs'
lte(z, z') -{ 1 }→ 2 :|: z' >= 0, z = 0
lte(z, z') -{ 1 }→ 1 :|: z = 1 + x + xs, xs >= 0, x >= 0, z' = 0
notEmpty(z) -{ 1 }→ 2 :|: z = 1 + x + xs, xs >= 0, x >= 0
notEmpty(z) -{ 1 }→ 1 :|: z = 0
and: runtime: O(1) [0], size: O(1) [2] notEmpty: runtime: O(1) [1], size: O(1) [2] lte: runtime: O(n1) [1 + z'], size: O(1) [2] |
and(z, z') -{ 0 }→ 2 :|: z = 2, z' = 2
and(z, z') -{ 0 }→ 1 :|: z = 1, z' = 1
and(z, z') -{ 0 }→ 1 :|: z = 2, z' = 1
and(z, z') -{ 0 }→ 1 :|: z' = 2, z = 1
and(z, z') -{ 0 }→ 0 :|: z >= 0, z' >= 0
even(z) -{ 1 }→ even(xs) :|: xs >= 0, x' >= 0, x >= 0, z = 1 + x' + (1 + x + xs)
even(z) -{ 1 }→ 2 :|: z = 0
even(z) -{ 1 }→ 1 :|: z - 1 >= 0
goal(z, z') -{ 4 + xs1 }→ s'' :|: s' >= 0, s' <= 2, s'' >= 0, s'' <= 2, x1 >= 0, xs1 >= 0, z - 1 >= 0, z' = 1 + x1 + xs1
goal(z, z') -{ 4 + xs1 }→ and(s1, even(xs3)) :|: s1 >= 0, s1 <= 2, z = 1 + x'' + (1 + x3 + xs3), x1 >= 0, xs1 >= 0, x'' >= 0, x3 >= 0, z' = 1 + x1 + xs1, xs3 >= 0
goal(z, z') -{ 3 }→ and(1, even(xs4)) :|: x4 >= 0, xs4 >= 0, z = 1 + x2 + (1 + x4 + xs4), x2 >= 0, z' = 0
goal(z, z') -{ 3 }→ 2 :|: z' >= 0, z = 0, 2 = 2
goal(z, z') -{ 3 }→ 1 :|: z - 1 >= 0, z' = 0, 1 = 1
goal(z, z') -{ 3 }→ 0 :|: z - 1 >= 0, z' = 0, v0 >= 0, v1 >= 0, 1 = v0, 1 = v1
goal(z, z') -{ 3 }→ 0 :|: z' >= 0, z = 0, v0 >= 0, v1 >= 0, 2 = v0, 2 = v1
lte(z, z') -{ 2 + xs }→ s :|: s >= 0, s <= 2, xs >= 0, z' = 1 + x + xs, x' >= 0, xs' >= 0, x >= 0, z = 1 + x' + xs'
lte(z, z') -{ 1 }→ 2 :|: z' >= 0, z = 0
lte(z, z') -{ 1 }→ 1 :|: z = 1 + x + xs, xs >= 0, x >= 0, z' = 0
notEmpty(z) -{ 1 }→ 2 :|: z = 1 + x + xs, xs >= 0, x >= 0
notEmpty(z) -{ 1 }→ 1 :|: z = 0
and: runtime: O(1) [0], size: O(1) [2] notEmpty: runtime: O(1) [1], size: O(1) [2] lte: runtime: O(n1) [1 + z'], size: O(1) [2] |
and(z, z') -{ 0 }→ 2 :|: z = 2, z' = 2
and(z, z') -{ 0 }→ 1 :|: z = 1, z' = 1
and(z, z') -{ 0 }→ 1 :|: z = 2, z' = 1
and(z, z') -{ 0 }→ 1 :|: z' = 2, z = 1
and(z, z') -{ 0 }→ 0 :|: z >= 0, z' >= 0
even(z) -{ 1 }→ even(xs) :|: xs >= 0, x' >= 0, x >= 0, z = 1 + x' + (1 + x + xs)
even(z) -{ 1 }→ 2 :|: z = 0
even(z) -{ 1 }→ 1 :|: z - 1 >= 0
goal(z, z') -{ 4 + xs1 }→ s'' :|: s' >= 0, s' <= 2, s'' >= 0, s'' <= 2, x1 >= 0, xs1 >= 0, z - 1 >= 0, z' = 1 + x1 + xs1
goal(z, z') -{ 4 + xs1 }→ and(s1, even(xs3)) :|: s1 >= 0, s1 <= 2, z = 1 + x'' + (1 + x3 + xs3), x1 >= 0, xs1 >= 0, x'' >= 0, x3 >= 0, z' = 1 + x1 + xs1, xs3 >= 0
goal(z, z') -{ 3 }→ and(1, even(xs4)) :|: x4 >= 0, xs4 >= 0, z = 1 + x2 + (1 + x4 + xs4), x2 >= 0, z' = 0
goal(z, z') -{ 3 }→ 2 :|: z' >= 0, z = 0, 2 = 2
goal(z, z') -{ 3 }→ 1 :|: z - 1 >= 0, z' = 0, 1 = 1
goal(z, z') -{ 3 }→ 0 :|: z - 1 >= 0, z' = 0, v0 >= 0, v1 >= 0, 1 = v0, 1 = v1
goal(z, z') -{ 3 }→ 0 :|: z' >= 0, z = 0, v0 >= 0, v1 >= 0, 2 = v0, 2 = v1
lte(z, z') -{ 2 + xs }→ s :|: s >= 0, s <= 2, xs >= 0, z' = 1 + x + xs, x' >= 0, xs' >= 0, x >= 0, z = 1 + x' + xs'
lte(z, z') -{ 1 }→ 2 :|: z' >= 0, z = 0
lte(z, z') -{ 1 }→ 1 :|: z = 1 + x + xs, xs >= 0, x >= 0, z' = 0
notEmpty(z) -{ 1 }→ 2 :|: z = 1 + x + xs, xs >= 0, x >= 0
notEmpty(z) -{ 1 }→ 1 :|: z = 0
and: runtime: O(1) [0], size: O(1) [2] notEmpty: runtime: O(1) [1], size: O(1) [2] lte: runtime: O(n1) [1 + z'], size: O(1) [2] even: runtime: ?, size: O(1) [2] |
and(z, z') -{ 0 }→ 2 :|: z = 2, z' = 2
and(z, z') -{ 0 }→ 1 :|: z = 1, z' = 1
and(z, z') -{ 0 }→ 1 :|: z = 2, z' = 1
and(z, z') -{ 0 }→ 1 :|: z' = 2, z = 1
and(z, z') -{ 0 }→ 0 :|: z >= 0, z' >= 0
even(z) -{ 1 }→ even(xs) :|: xs >= 0, x' >= 0, x >= 0, z = 1 + x' + (1 + x + xs)
even(z) -{ 1 }→ 2 :|: z = 0
even(z) -{ 1 }→ 1 :|: z - 1 >= 0
goal(z, z') -{ 4 + xs1 }→ s'' :|: s' >= 0, s' <= 2, s'' >= 0, s'' <= 2, x1 >= 0, xs1 >= 0, z - 1 >= 0, z' = 1 + x1 + xs1
goal(z, z') -{ 4 + xs1 }→ and(s1, even(xs3)) :|: s1 >= 0, s1 <= 2, z = 1 + x'' + (1 + x3 + xs3), x1 >= 0, xs1 >= 0, x'' >= 0, x3 >= 0, z' = 1 + x1 + xs1, xs3 >= 0
goal(z, z') -{ 3 }→ and(1, even(xs4)) :|: x4 >= 0, xs4 >= 0, z = 1 + x2 + (1 + x4 + xs4), x2 >= 0, z' = 0
goal(z, z') -{ 3 }→ 2 :|: z' >= 0, z = 0, 2 = 2
goal(z, z') -{ 3 }→ 1 :|: z - 1 >= 0, z' = 0, 1 = 1
goal(z, z') -{ 3 }→ 0 :|: z - 1 >= 0, z' = 0, v0 >= 0, v1 >= 0, 1 = v0, 1 = v1
goal(z, z') -{ 3 }→ 0 :|: z' >= 0, z = 0, v0 >= 0, v1 >= 0, 2 = v0, 2 = v1
lte(z, z') -{ 2 + xs }→ s :|: s >= 0, s <= 2, xs >= 0, z' = 1 + x + xs, x' >= 0, xs' >= 0, x >= 0, z = 1 + x' + xs'
lte(z, z') -{ 1 }→ 2 :|: z' >= 0, z = 0
lte(z, z') -{ 1 }→ 1 :|: z = 1 + x + xs, xs >= 0, x >= 0, z' = 0
notEmpty(z) -{ 1 }→ 2 :|: z = 1 + x + xs, xs >= 0, x >= 0
notEmpty(z) -{ 1 }→ 1 :|: z = 0
and: runtime: O(1) [0], size: O(1) [2] notEmpty: runtime: O(1) [1], size: O(1) [2] lte: runtime: O(n1) [1 + z'], size: O(1) [2] even: runtime: O(n1) [1 + z], size: O(1) [2] |
and(z, z') -{ 0 }→ 2 :|: z = 2, z' = 2
and(z, z') -{ 0 }→ 1 :|: z = 1, z' = 1
and(z, z') -{ 0 }→ 1 :|: z = 2, z' = 1
and(z, z') -{ 0 }→ 1 :|: z' = 2, z = 1
and(z, z') -{ 0 }→ 0 :|: z >= 0, z' >= 0
even(z) -{ 2 + xs }→ s2 :|: s2 >= 0, s2 <= 2, xs >= 0, x' >= 0, x >= 0, z = 1 + x' + (1 + x + xs)
even(z) -{ 1 }→ 2 :|: z = 0
even(z) -{ 1 }→ 1 :|: z - 1 >= 0
goal(z, z') -{ 4 + xs1 }→ s'' :|: s' >= 0, s' <= 2, s'' >= 0, s'' <= 2, x1 >= 0, xs1 >= 0, z - 1 >= 0, z' = 1 + x1 + xs1
goal(z, z') -{ 5 + xs1 + xs3 }→ s4 :|: s3 >= 0, s3 <= 2, s4 >= 0, s4 <= 2, s1 >= 0, s1 <= 2, z = 1 + x'' + (1 + x3 + xs3), x1 >= 0, xs1 >= 0, x'' >= 0, x3 >= 0, z' = 1 + x1 + xs1, xs3 >= 0
goal(z, z') -{ 4 + xs4 }→ s6 :|: s5 >= 0, s5 <= 2, s6 >= 0, s6 <= 2, x4 >= 0, xs4 >= 0, z = 1 + x2 + (1 + x4 + xs4), x2 >= 0, z' = 0
goal(z, z') -{ 3 }→ 2 :|: z' >= 0, z = 0, 2 = 2
goal(z, z') -{ 3 }→ 1 :|: z - 1 >= 0, z' = 0, 1 = 1
goal(z, z') -{ 3 }→ 0 :|: z - 1 >= 0, z' = 0, v0 >= 0, v1 >= 0, 1 = v0, 1 = v1
goal(z, z') -{ 3 }→ 0 :|: z' >= 0, z = 0, v0 >= 0, v1 >= 0, 2 = v0, 2 = v1
lte(z, z') -{ 2 + xs }→ s :|: s >= 0, s <= 2, xs >= 0, z' = 1 + x + xs, x' >= 0, xs' >= 0, x >= 0, z = 1 + x' + xs'
lte(z, z') -{ 1 }→ 2 :|: z' >= 0, z = 0
lte(z, z') -{ 1 }→ 1 :|: z = 1 + x + xs, xs >= 0, x >= 0, z' = 0
notEmpty(z) -{ 1 }→ 2 :|: z = 1 + x + xs, xs >= 0, x >= 0
notEmpty(z) -{ 1 }→ 1 :|: z = 0
and: runtime: O(1) [0], size: O(1) [2] notEmpty: runtime: O(1) [1], size: O(1) [2] lte: runtime: O(n1) [1 + z'], size: O(1) [2] even: runtime: O(n1) [1 + z], size: O(1) [2] |
and(z, z') -{ 0 }→ 2 :|: z = 2, z' = 2
and(z, z') -{ 0 }→ 1 :|: z = 1, z' = 1
and(z, z') -{ 0 }→ 1 :|: z = 2, z' = 1
and(z, z') -{ 0 }→ 1 :|: z' = 2, z = 1
and(z, z') -{ 0 }→ 0 :|: z >= 0, z' >= 0
even(z) -{ 2 + xs }→ s2 :|: s2 >= 0, s2 <= 2, xs >= 0, x' >= 0, x >= 0, z = 1 + x' + (1 + x + xs)
even(z) -{ 1 }→ 2 :|: z = 0
even(z) -{ 1 }→ 1 :|: z - 1 >= 0
goal(z, z') -{ 4 + xs1 }→ s'' :|: s' >= 0, s' <= 2, s'' >= 0, s'' <= 2, x1 >= 0, xs1 >= 0, z - 1 >= 0, z' = 1 + x1 + xs1
goal(z, z') -{ 5 + xs1 + xs3 }→ s4 :|: s3 >= 0, s3 <= 2, s4 >= 0, s4 <= 2, s1 >= 0, s1 <= 2, z = 1 + x'' + (1 + x3 + xs3), x1 >= 0, xs1 >= 0, x'' >= 0, x3 >= 0, z' = 1 + x1 + xs1, xs3 >= 0
goal(z, z') -{ 4 + xs4 }→ s6 :|: s5 >= 0, s5 <= 2, s6 >= 0, s6 <= 2, x4 >= 0, xs4 >= 0, z = 1 + x2 + (1 + x4 + xs4), x2 >= 0, z' = 0
goal(z, z') -{ 3 }→ 2 :|: z' >= 0, z = 0, 2 = 2
goal(z, z') -{ 3 }→ 1 :|: z - 1 >= 0, z' = 0, 1 = 1
goal(z, z') -{ 3 }→ 0 :|: z - 1 >= 0, z' = 0, v0 >= 0, v1 >= 0, 1 = v0, 1 = v1
goal(z, z') -{ 3 }→ 0 :|: z' >= 0, z = 0, v0 >= 0, v1 >= 0, 2 = v0, 2 = v1
lte(z, z') -{ 2 + xs }→ s :|: s >= 0, s <= 2, xs >= 0, z' = 1 + x + xs, x' >= 0, xs' >= 0, x >= 0, z = 1 + x' + xs'
lte(z, z') -{ 1 }→ 2 :|: z' >= 0, z = 0
lte(z, z') -{ 1 }→ 1 :|: z = 1 + x + xs, xs >= 0, x >= 0, z' = 0
notEmpty(z) -{ 1 }→ 2 :|: z = 1 + x + xs, xs >= 0, x >= 0
notEmpty(z) -{ 1 }→ 1 :|: z = 0
and: runtime: O(1) [0], size: O(1) [2] notEmpty: runtime: O(1) [1], size: O(1) [2] lte: runtime: O(n1) [1 + z'], size: O(1) [2] even: runtime: O(n1) [1 + z], size: O(1) [2] goal: runtime: ?, size: O(1) [2] |
and(z, z') -{ 0 }→ 2 :|: z = 2, z' = 2
and(z, z') -{ 0 }→ 1 :|: z = 1, z' = 1
and(z, z') -{ 0 }→ 1 :|: z = 2, z' = 1
and(z, z') -{ 0 }→ 1 :|: z' = 2, z = 1
and(z, z') -{ 0 }→ 0 :|: z >= 0, z' >= 0
even(z) -{ 2 + xs }→ s2 :|: s2 >= 0, s2 <= 2, xs >= 0, x' >= 0, x >= 0, z = 1 + x' + (1 + x + xs)
even(z) -{ 1 }→ 2 :|: z = 0
even(z) -{ 1 }→ 1 :|: z - 1 >= 0
goal(z, z') -{ 4 + xs1 }→ s'' :|: s' >= 0, s' <= 2, s'' >= 0, s'' <= 2, x1 >= 0, xs1 >= 0, z - 1 >= 0, z' = 1 + x1 + xs1
goal(z, z') -{ 5 + xs1 + xs3 }→ s4 :|: s3 >= 0, s3 <= 2, s4 >= 0, s4 <= 2, s1 >= 0, s1 <= 2, z = 1 + x'' + (1 + x3 + xs3), x1 >= 0, xs1 >= 0, x'' >= 0, x3 >= 0, z' = 1 + x1 + xs1, xs3 >= 0
goal(z, z') -{ 4 + xs4 }→ s6 :|: s5 >= 0, s5 <= 2, s6 >= 0, s6 <= 2, x4 >= 0, xs4 >= 0, z = 1 + x2 + (1 + x4 + xs4), x2 >= 0, z' = 0
goal(z, z') -{ 3 }→ 2 :|: z' >= 0, z = 0, 2 = 2
goal(z, z') -{ 3 }→ 1 :|: z - 1 >= 0, z' = 0, 1 = 1
goal(z, z') -{ 3 }→ 0 :|: z - 1 >= 0, z' = 0, v0 >= 0, v1 >= 0, 1 = v0, 1 = v1
goal(z, z') -{ 3 }→ 0 :|: z' >= 0, z = 0, v0 >= 0, v1 >= 0, 2 = v0, 2 = v1
lte(z, z') -{ 2 + xs }→ s :|: s >= 0, s <= 2, xs >= 0, z' = 1 + x + xs, x' >= 0, xs' >= 0, x >= 0, z = 1 + x' + xs'
lte(z, z') -{ 1 }→ 2 :|: z' >= 0, z = 0
lte(z, z') -{ 1 }→ 1 :|: z = 1 + x + xs, xs >= 0, x >= 0, z' = 0
notEmpty(z) -{ 1 }→ 2 :|: z = 1 + x + xs, xs >= 0, x >= 0
notEmpty(z) -{ 1 }→ 1 :|: z = 0
and: runtime: O(1) [0], size: O(1) [2] notEmpty: runtime: O(1) [1], size: O(1) [2] lte: runtime: O(n1) [1 + z'], size: O(1) [2] even: runtime: O(n1) [1 + z], size: O(1) [2] goal: runtime: O(n1) [3 + z + z'], size: O(1) [2] |